package com.yang.code_sample.performance_count.entity;

import lombok.Data;

/**
 * @Description: 统计的接口请求参数
 * @Author: 杨 强
 * @CreateTime: 2022-10-13 16:42
 */
@Data
public class RequestInfo {
    /**
     * 接口名字
     */
    private String apiName;
    /**
     * 接口响应时间
     */
    private long responseTime;
    /**
     * 接口请求时间
     */
    private long timestamp;

    public RequestInfo(String apiName, int responseTime, int timestamp) {
        this.apiName = apiName;
        this.responseTime = responseTime;
        this.timestamp = timestamp;
    }
}
